﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="OpenBankAccount.aspx.cs" Inherits="Admin_OpenBankAccount" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

<br/>
    <asp:HyperLink ID="AdminLink" runat="server" NavigateUrl="../Admin/Admin.aspx">Администраторская панель</asp:HyperLink>
&nbsp; <span class="Apple-style-span" 
        style="font: 13px/normal &quot;Helvetica Neue&quot;, &quot;Lucida Grande&quot;, &quot;Segoe UI&quot;, Arial, Helvetica, Verdana, sans-serif; color: rgb(105, 105, 105); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">
    →&nbsp; 
    <asp:HyperLink ID="AdminHyperLink" runat="server" NavigateUrl="../Admin/BankAccounts.aspx">Счета</asp:HyperLink>
    <b>&nbsp;→ <asp:Label ID="BankAccountsLabel" runat="server" Text="Открытие счета банка" ForeColor="black"></asp:Label></b>
    <br/>
    <br />

<table>
<tr>
<td>
    <asp:Label ID="Label1" runat="server" Text="Валюта счёта"></asp:Label>
</td>
<td>
    <asp:DropDownList Width="250px" ID="CurrencyList" runat="server" 
        DataSourceID="SqlDataSourceCurrency" DataTextField="Name" 
        DataValueField="CurrencyID" AutoPostBack="True" 
        ondatabound="CurrencyList_DataBound" 
        onselectedindexchanged="CurrencyList_SelectedIndexChanged"></asp:DropDownList>
    <asp:SqlDataSource ID="SqlDataSourceCurrency" runat="server" 
        ConnectionString="<%$ ConnectionStrings:DatabaseConnectionString %>" 
        SelectCommand="SELECT [Name], [CurrencyID] FROM [Currency]">
    </asp:SqlDataSource>
</td>
</tr>
<tr>
<td>Тип счёта</td>
<td><asp:DropDownList Width="250px" ID="TypeList" runat="server" AutoPostBack="True" 
        onselectedindexchanged="DropDownList1_SelectedIndexChanged">
    <asp:ListItem Value="0">Обычный</asp:ListItem>
    <asp:ListItem Value="1">Процентный</asp:ListItem>
    </asp:DropDownList></td>
    
</tr>
</table>
<br/>

    <asp:Button ID="CreateBankAccountButton" runat="server" Text="Открыть счёт" 
        onclick="CreateBankAccountButton_Click" />

</asp:Content>


